package com.ronx.scs.dao;

import com.ronx.scs.service.ChangePasswordService;
import org.springframework.security.core.userdetails.jdbc.JdbcDaoImpl;

@Deprecated
public class CustomJdbcDaoImpl extends JdbcDaoImpl implements ChangePasswordService {
    @Override
    public void changePassword(String username, String password) {
        getJdbcTemplate().update("UPDATE USERS SET PASSWORD = ?  WHERE USERNAME = ? ", password, username);
    }
}
